using System;
using Machine.Migrations;

public class AddFieldCustomerTypes : FluentMigration
{
	public override void Up()
	{
		Database.ExecuteNonQuery("ALTER TABLE Customers Add CustomerTypeId int not null default(1)");
		SimpleSchema.AddForeignKeyConstraint("Customers","Customers_CustomerTypes","CustomerTypeId","CustomerTypes","Id");
	}

	public override void Down()
	{
		throw new NotImplementedException();
	}
}